package com.easystore.orm.utilities
{
import flash.errors.IllegalOperationError;
	
public class CheckUtil
{
	public function CheckUtil(internalClass : Internal) {
		if ( internalClass == null ) throw new IllegalOperationError("cannot create new instance of CheckUtil");
	}
	
	public static function checkNotNull(param : Object,paramName : String , methodName : String = null) : void {
		if ( param == null ) throw new ArgumentError("A null value for argument : " + paramName + " cannot be accepted by " + (methodName == null ? " the method you call" : methodName) ); 
	}
}
}
class Internal {}